package com.example.mobile2021606128wje0330;

import android.os.Bundle;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {
    //全局变量控件声明
    RadioGroup radGupCarType, radGupLine;
    RadioButton radBtnSaloon, radBtnMainMVP, radBtnMainSUV, RadBtnMainLine1,
            RadBtnMainLine2, RadBtnMainLine3, RadBtnMainLine4;
    Button btnMainCreate;
    private TextView textView2;
    private RadioGroup radGupMainCarType;
    private RadioButton radBtnMainSaloon;
    private RadioGroup radGupMainLine;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate( savedInstanceState );
        setContentView( R.layout.activity_main );


        initView();
    }

    private void initView() {
        textView2 = (TextView) findViewById( R.id.textView2 );
        radGupMainCarType = (RadioGroup) findViewById( R.id.radGupMainCarType );
        radBtnMainSaloon = (RadioButton) findViewById( R.id.radBtnMainSaloon );
        radGupMainLine = (RadioGroup) findViewById( R.id.radGupMainLine );

    }
}